<template>
    <section>
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item v-for="(item,index) in breadcrumbList" :key="index" :to="{path:'/main/'+item.to}">{{item.title}}</el-breadcrumb-item>
            <!-- <el-breadcrumb-item>活动管理</el-breadcrumb-item>
            <el-breadcrumb-item>活动列表</el-breadcrumb-item>
            <el-breadcrumb-item>活动详情</el-breadcrumb-item> -->
        </el-breadcrumb>
        <router-view></router-view>
    </section>
</template>
<style>

</style>
<script>
export default {

    computed:{
        breadcrumbList(){
            return this.$store.state.modules.breadcrumbList;
        }
    },
    data(){
        return {
            
        }
    }
    
}
</script>



